return {
    cmd = { "gopls" },

    filetypes = { "go" },
    root_makers = { { "go.mod", "go.sum", "go.work" }, ".git" },

    settings = {
        gopls = {
            hints = {
                assignVariableTypes = true,
                compositeLiteralFields = true,
                compositeLiteralTypes = true,
                constantValues = true,
                functionTypeParameters = true,
                parameterNames = true,
                rangeVariableTypes = true,
            },
        },
    },
}
